Skip to content

fix: keep CLI version aligned with package metadata - #27

Merged
rogerchappel merged 3 commits into
mainfrom
agent/oss-f53e9872adaf-cli-package-version
Aug 31, 2026
Merged

fix: keep CLI version aligned with package metadata#27
rogerchappel merged 3 commits into
mainfrom
agent/oss-f53e9872adaf-cli-package-version

Conversation

@rogerchappel

Copy link
Copy Markdown
Owner

Summary

  • derive promptdiff --version from the packaged package.json version
  • verify built and installed tarball CLIs against package metadata, including a non-0.1.0 fixture and a failing mismatch probe
  • document the single-source release version procedure

Commits

  • 09b1cbe test: define CLI package version contract
  • 7ea0929 fix: derive CLI version from package metadata
  • 49ee8b3 docs: simplify release version updates

Verification

  • npm ci
  • npm run release:check (30 tests, typecheck, build, smoke, tarball install/version checks)
  • git diff --check

The regression fixture supplies package version 9.8.7 and verifies both the built CLI and installed tarball CLI report it. The mismatch probe verifies 9.8.7 versus 0.1.0 exits nonzero.

@rogerchappel

Copy link
Copy Markdown
Owner Author

Automated merge note

Triage class: auto-merge

Summary: Derives the CLI version from package metadata and verifies built and installed-package version behavior, with regression tests and aligned release documentation (5 files, +97/-4).

Checks run: GitHub Actions CI / Repository hygiene (Node 20), (Node 22), and (Node 24) completed SUCCESS; worker verification recorded npm ci, npm run release:check (30 tests, typecheck, build, smoke, tarball install/version checks), and git diff --check origin/main...HEAD; final diff, mergeability, branch protection, and Roger Chappel author/committer identities re-verified.

Rebased/CI-repaired: No.

Verified head SHA: 49ee8b308445b0cf99e7e4bfbd581056b7386884.

@rogerchappel
rogerchappel merged commit 15f37f8 into main Aug 31, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant